Get Online PSTN Gateway

The request retrieves a list of Online PSTN Gateways.

HTTP Method

GET

URI

Copy
{{baseUrl}}/api/v3/customer/CustomerGuid/onlinepstngateway

Request Parameters

Parameter

Type

Description

Page Number

Integer Default value : 0

Page number in range to retrieve.

Page Size

Integer, Default value: 10

Number of pages in range to retrieve.

scriptType

String (query)

One of the following categories:

Any: Retrieves both AudioCodes SBC devices and Microsoft 365 scripts
SBC: AudioCodes SBC device script
M365: Microsoft 365 script

Example Response

Copy
[
    {
        "fqdn": "milano.sandbox3.audiocodes.be",
        "trunkModel": "DerivedTrunk"
    },
    {
        "fqdn": "m365x88141009.onmicrosoft.com",
        "trunkModel": "AzureAdDomainOnly"
    },
    {
        "fqdn": "brad444pro.sandbox3.audiocodes.be",
        "trunkModel": "AzureAdDomainOnly"
    },
    {
        "fqdn": "mikeservice.sandbox3.audiocodes.be",
        "trunkModel": "AzureAdDomainOnly"
    }
]

HTTP Responses

200 OK

Attribute

Type

Description

FQDN

string

Sub domain of the customer SIP Connection in the following format <SIPConnectionName>.<SBCDomainName>

Where <SIPConnectionName> is the Live Platform SIP entity for the customer site used to connect to the SBC and <SBCDomainName> is the FQDN of the SBC device attached to the SIP Connection.

Trunk Model

string

The trunk type used in multi‑tenant Direct Routing hosting scenarios where the SBC (Session Border Controller) is managed by a carrier/hoster and services many customer tenants.

Derived Trunk: Customer user calls are routed directly through the Service Provider SBC generated-trunk Hosted Direct Routing infrastructure
AzureAdDomainOnly: Domain that is registered in Azure AD only and not enabled for SIP Voice. Calls for this SIP connection are routed through the Derived Trunk.